package com.cleaningcloud.erp.domain.excelExport;

import com.cleaningcloud.common.core.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SaleExcelExport {
    @Excel(name = "销售单号", sort = 1)
    private String saleOdd;
    @Excel(name = "客户名称", sort = 2)
    private String customerName;
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd", sort = 3)
    private Date saleTime;
    @Excel(name = "物流费用", sort = 4)
    private BigDecimal logisticsCost;
    @Excel(name = "其他费用", sort = 5)
    private BigDecimal otherCost;
    @Excel(name = "物流状态", sort = 6, readConverterExp = "0=未发货,1=已发货,2=已收货")
    private String logisticsStauts;
    @Excel(name = "销售人", sort = 7)
    private String nickName;
    @Excel(name = "联系电话", sort = 8)
    private String phonenumber;
    @Excel(name = "销售金额", sort = 9)
    private BigDecimal payAmount;
    @Excel(name = "销售利润", sort = 10)
    private BigDecimal rateMoney;
    @Excel(name = "审批人", sort = 11)
    private String approveName;
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 12)
    private Date approveTime;
    @Excel(name = "创建人", sort = 14)
    private String createName;
    @Excel(name = "商品编号")
    private String commodityNo;
    @Excel(name = "商品名称")
    private String commodityName1;
    @Excel(name = "商品类别")
    private String commodityType;
    @Excel(name = "单位")
    private String unitName1;
    @Excel(name = "规格")
    private String commoditySpec;
    @Excel(name = "换算结果")
    private String unitResult;
    @Excel(name = "成本价")
    private BigDecimal costPrice;
    @Excel(name = "销售单价")
    private BigDecimal salePrice;
    @Excel(name = "销售数量")
    private int saleNumber;


}
